package com.example.demoshardingjdbc.domain;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 订单
 * @author kange
 */
@Entity
@Table(name = "t_order")
@Data
public class Order {

    @Id
    private Long orderId;
    private Long userId;
}
